package com.grape.enums;

import lombok.Getter;

/**
 * @author  putao
 * @email   2628279194@qq.com
 */
@Getter
public enum NoticeEnums {

    NOTICE_COMMENT("comment", "评论了你的帖子", ColorEnums.NOTICE_COMMENT, "post"),

    NOTICE_REPLY_COMMENT("reply_comment", "回复了你的评论", ColorEnums.NOTICE_REPLY, "post"),

    NOTICE_LIKE_POST("like_post", "点赞了你的帖子", ColorEnums.NOTICE_LIKE, "post"),

    NOTICE_COLLECT_POST("collect_post", "收藏了你的帖子", ColorEnums.NOTICE_COLLECT, "post"),

    NOTICE_SHARE("share", "收到一条分享信息", ColorEnums.NOTICE_COLLECT, "post"),

    NOTICE_NEW_MESSAGE("new_message", "发来一条新消息", ColorEnums.NOTICE_NEW_MESSAGE, "message"),

    NOTICE_SYSTEM_SLEEP("system_sleep", "睡眠时间到了，早点休息", ColorEnums.NOTICE_SYSTEM, null),

    NOTICE_SYSTEM_REST("system_rest", "刷了一段时间了哦，请注意休息下", ColorEnums.NOTICE_SYSTEM, null),

    FORCE_OFFLINE("force_offline", "您被强制下线了，请重新登录", ColorEnums.NOTICE_SYSTEM, null),

    NOTICE_NEW_FOLLOW("new_follow", "关注了你", ColorEnums.NOTICE_SYSTEM, null),

    REDUCE_BADGE("reduce_badge", "减少未读数", ColorEnums.NOTICE_SYSTEM, null),

    NOTICE_LIKE_COMMENT("like_comment", "点赞了你的评论", ColorEnums.NOTICE_LIKE, "post"),

    NOTICE_AUDIT_RESULT("audit_result", "收到一个审核结果", ColorEnums.NOTICE_LIKE, "audit"),

    AUDIT_URGE("audit_urge", "收到一条催办记录", ColorEnums.NOTICE_LIKE, "audit"),

    NOTICE_RECALL("notice_recall", "撤回一条消息", ColorEnums.NOTICE_SYSTEM, "message"),
    ;

    /** 编码类型 */
    private final String type;

    /** 消息 */
    private final String message;

    /** 颜色枚举 */
    private final ColorEnums colorEnums;

    /** 单据类型 */
    private final String billType;

    NoticeEnums(String type, String message, ColorEnums colorEnums, String billType) {
        this.type = type;
        this.message = message;
        this.colorEnums = colorEnums;
        this.billType = billType;
    }
}
